Package com.cisco.pt.ipc.sim
Interface MailBox
- All Superinterfaces:
IPCObject
- All Known Implementing Classes:
MailBoxImpl
Information provided by the PKI file:
\class
\brief Mail box access to retrive and delete mails.
\example network().getDevice("PC0").getProcess("EmailClient").getEmailUser().getMailBox().deleteMailAt(0)
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteMailAt(int index) Information provided by the PKI file:getMails()Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Method Details
-
getMails
Information provided by the PKI file:
\brief Returns all the mails in the mailbox. \return vector<Mail>, value is a list that contains all the mails.- Returns:
- List<Mail> Returns a List<Mail>
-
deleteMailAt
void deleteMailAt(int index) Information provided by the PKI file:
\brief Deletes the mail at the given index. \param index, index of the mail entry to delete.- Parameters:
index- Takes in a parameter of index
-